package com.orphan.supplier.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjm
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_back")
public class Back extends Model {

    private static final long serialVersionUID = 1L;
    @TableId(value = "t_id", type = IdType.AUTO)
    private Integer tId;

    @TableField("t_orderId")
    private String tOrderId;

    @TableField("t_supplierName")
    private String tSupplierName;

    @TableField("t_orderTime")
    private String tOrderTime;
    @TableField("t_state")
    private String tState;

    private Integer tGoodsnum;

    private String tGoodsname;
    private Float tTotal;
    @TableField(exist = false)
    private List<Backgoods>backgoods;//退货商品集合
    private Backgoods back;

}
